.ant-layout {
  background-color: #ffffff;
  .ant-layout-sider {
    background-color: #ffffff;
  }
}
.ant-select-dropdown {
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    // color: #379e0e;
  }
  .ant-cascader-menu-item-active {
    .ant-cascader-menu-item-content {
      // color: #379e0e;
    }
  }
}


.ant-tooltip {
  max-width: 520px;
  .ant-tooltip-inner {
    word-break: break-all;
    .ant-typography {
      color: inherit;
    }
  }
}

div.ant-typography,
.ant-typography p {
  margin-bottom: 0;
}

.ant-dropdown {
  .ant-dropdown-menu {
    .ant-dropdown-menu-item:hover {
      // color: #379e0e;
    }
  }
}

.ant-btn-link {
  padding: 0;
}

// .ant-form-item {
//   &:has(.ant-input-disabled),
//   &:has(.ant-select-disabled),
//   &:has(.ant-picker-disabled) {
//     label::before {
//       display: none !important;
//     }
//   }
// }
.ant-input-affix-wrapper-disabled {
  color: #39414f !important;
  background-color: rgb(234 236 243 / 0.3) !important;
  border-color: transparent !important;
  .ant-input-disabled {
    background-color: transparent !important;
  }
}
.ant-input-disabled {
  background-color: rgb(234 236 243 / 0.3) !important;
  border-color: transparent !important;
  color: #39414f !important;
  resize: none !important;
  cursor: context-menu !important;
  &::placeholder {
    color: transparent !important;
  }
  &:hover {
    border-color: transparent !important;
  }
}
.ant-select-disabled {
  cursor: context-menu !important;
  .ant-select-selector {
    background-color: rgb(234 236 243 / 0.3) !important;
    border-color: transparent !important;
    color: #39414f !important;
    cursor: context-menu !important;
  }
  .ant-select-arrow {
    display: none !important;
  }
  .ant-select-selection-placeholder {
    color: transparent !important;
  }
}
.ant-picker-disabled {
  background-color: rgb(234 236 243 / 0.3);
  border-color: transparent;
  input {
    color: #39414f !important;
    border-color: transparent;
  }
  input::placeholder {
    color: transparent !important;
  }
  .ant-picker-suffix {
    display: none;
  }
  &:hover {
    cursor: context-menu;
    input {
      cursor: context-menu;
    }
  }
}
